
{[include file="mold/mold/_view.tpl"]}

<fieldset><legend>质检报告</legend>
<form id="form_add"><input type="hidden" name="id" value="{[$smarty.request.id]}" /> <input type="hidden" name="mold"
	value="{[$mold.id]}"> <input type="hidden" name="piece" value="{[$plan.piece]}"> <input type="hidden" name="technics"
	value="{[$plan.technics]}"> <input type="hidden" name="_upload" id="_upload" value="1" />
<table>
	<tr>
		<td width="20%" align="right">工件：</td>
		<td width="80%">{[$result.piece]}</td>
	</tr>
	<tr>
		<td align="right">工艺：</td>
		<td>{[$result.technics]}</td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td>{[$result.emp_t]}</td>
	</tr>
	<tr>
		<td align="right">文件名：</td>
		<td><select name='filename' id='filename'>
			{[html_options options=$filename_option selected=safe]}
		</select></td>
	</tr>
	<tr>
		<td align="right">附件：</td>
		<td><input type="file" name="userfile" id="userfile" size="42"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td><textarea rows="4" name="content" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">异常情况：</td>
		<td><textarea rows="4" name="exception" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">质检日期：</td>
		<td><input type="text" name="date" id="date" value="{[$t1|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">报告状态：</td>
		<td><select name='status'>
			{[html_options options=$status_option selected=$smarty.request.status]}
		</select></td>
	</tr>
</table>
</form>
</fieldset>

<script type="text/javascript" src="js/mold/quality/add.js?r={[$smarty.now]}"></script>